package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

public interface NursingPlanService {


    /**
     * 根据id查询
     * @param id
     * @return
     */
    NursingPlanVo selectById(Long id);


    /**
     * 查询所有护理计划
     * @return
     */
    List<NursingPlanVo> getAllPlan();


    /**
     * 新增
     * @param nursingPlanDto
     */
    void addNursingPlan(NursingPlanDto nursingPlanDto);




    /**
     * 条件分页查询
     * @param pageNum
     * @param pageSize
     * @param name
     * @param status
     * @return
     */
    PageResponse<NursingPlanVo> selectByPage(Integer pageNum, Integer pageSize, String name, Integer status);


    /**
     * 修改
     * @param nursingPlanDto
     */
    void modifyPlan(NursingPlanDto nursingPlanDto);


    /**
     * 删除
     * @param id
     */
    void deleteById(Long id);


    /**
     * 启用禁用
     * @param id
     * @param status
     */
    void enableOrDisable(Long id, Integer status);
}
